//
//  HOTMessageBoxCell.h
//  Genpara
//
//  Created by AndyChang.zhang on 14-9-11.
//  Copyright (c) 2014年 zhangchh. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HOTNickLabel.h"

@protocol HOTMessageBoxCellDelegate <NSObject>

-(void)selectedItem:(BOOL)selected indexPath:(NSIndexPath *)indexPath;

@end

@interface HOTMessageBoxCell : UITableViewCell {
    
    __weak IBOutlet UIButton *_checkBtn;
    __weak IBOutlet UIImageView *mailStutasImageView;
    
    UIImage *mailBoxImage;
    UIImage *mailBoxOpenImage;
    UIImage *mailAnswerImage;
    UIImage *mailSendImage;
    
    CGRect mailBoxDefaultFrame;
    CGRect mailAnswerBoxFrame;
    CGRect mailBoxOpenFrame;
    CGRect mailSendFrame;

    
    BOOL isEdit;
    
}
@property (weak, nonatomic) IBOutlet UILabel *dateTimeLabel;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (strong, nonatomic) NSIndexPath *indexPath;
@property (weak, nonatomic) id delegate;

-(void)setEdit:(BOOL)flg animated:(BOOL)animated;
-(void)setSelectedItem:(BOOL)selected;
- (IBAction)checkBtnClicked:(id)sender;
-(void)setMailStatus:(NSString *)status;

@end
